package com.lvmama.pangolin.mybatis.mapper.xc;

import java.util.List;
import java.util.Map;

import com.lvmama.pangolin.entity.spider.TicketCommodity;
import com.lvmama.pangolin.entity.xc.XCTicket_CommodityDetail;

public interface XCTicketCommodityDetailMapper {
	/**  
	* @Title：TicketCommodityMapper.java
	* @Author:zhoutianqi
	* @Description:
	* @Date：2017年2月15日下午5:47:02  
	*/
	public List<XCTicket_CommodityDetail> getXCTicket_CommodityDetailListByID(Map<String,Object> map);
	public int insertCommodityDetailLog(XCTicket_CommodityDetail detail);
	public List<XCTicket_CommodityDetail> selectAllLog();
	public List<XCTicket_CommodityDetail> queryLogByMap(Map<String,Object> map);
	public int deleteLogByMap(Map<String,Object> map);
	public int updateLog(XCTicket_CommodityDetail detail);
	public int deleteLogByID(String detail_id);

	public int insert(TicketCommodity record);
	
	public int insertSelective(TicketCommodity record);
	public List<XCTicket_CommodityDetail> getXCTicket_CommodityDetailLogListByID(Map<String,Object> map);
	int deletePreviousData(int limit);
	public int deleteByTaskAndProd(TicketCommodity record);
}
